Intersoft ClientUI Documentation
CanResolve<TType>() Method



The type to be resolved.
Determines if the type TType can be resolved.
Syntax
Overloads Function CanResolve(Of TType As Class)() As Boolean
Dim instance As IDependencyResolver
Dim value As Boolean
 
value = instance.CanResolve(Of TType)()
bool CanResolve<TType>()
where TType: class
bool CanResolvegeneric<typename TType>
(); 
where TType: ref class

Type Parameters

TType
The type to be resolved.

Return Value

True if there is an unnamed Registration for the type TType, false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDependencyResolver Interface
IDependencyResolver Members
Overload List

Send Feedback